

package com.maoshi.shop.distribution.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maoshi.shop.distribution.comment.model.DistributionAuditingSet;

/**
 *
 * @author lgh on 2019/04/01.
 */
public interface DistributionAuditingSetService extends IService<DistributionAuditingSet> {

    /**
     * 根据店铺获取并将内部json转化为vo对象
     * @param shopId
     * @return
     */
    DistributionAuditingSet getByShopId();

//    /**
//     * 创建一条初始化数据
//     * @param shopId
//     * @return
//     */
//    DistributionAuditingSet createInitialDistributionAuditingSet(Long shopId);

    /**
     * 根据id删除缓存
     * @param shopId
     */
    void removeCacheByShopId(Long shopId);
}
